package com.youpingou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youpingou.domain.Sku;
import com.youpingou.domain.SkuPhoto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SkuPhotoMapper extends BaseMapper<SkuPhoto> {

    @Select("select * from  tb_sku_photo where sku_id = #{skuId}")
    public List<SkuPhoto> findSkuPhotoBySkuId(Integer skuId);

}
